function setupXbsjEarth(app: App) {
    const p1 = XE.HTML.loadJS(
        '/earthsdk/XbsjEarth-Plugins/plottingSymbol/plottingSymbol.js',
    )

    const p2 = XE.HTML.loadJS(
        '/earthsdk/XbsjEarth-Plugins/customPrimitive/customPrimitive.js',
    )

    const p3 = XE.HTML.loadJS(
        '/earthsdk/XbsjEarth-Plugins/customPrimitiveImage/customPrimitiveImage.js',
    )

    const p4 = XE.HTML.loadJS('/earthsdk/scripts/three.min.js') // 部分图元需要加载three.js

    const p5 = XE.HTML.loadJS(
        '/earthsdk/XbsjEarth-Plugins/plottingSymbol2/plottingSymbol2.js',
    )

    return Promise.all([p1, p2, p3, p4, p5])
}

export { setupXbsjEarth }
